package com.lebang.feign.fallback;

import com.lebang.feign.HundredAwardsFeign;
import com.lebang.model.RequestUserInfo;
import com.lebang.model.back.Result;
import com.lebangweb.response.JsonData;
import org.springframework.stereotype.Component;

import static com.lebang.feign.draw.CommonFallBack.FAIL_JSON;
import static com.lebang.feign.draw.CommonFallBack.FAIL_RESULT;

/**
 * @author ljx
 */
@Component
public class HundredAwardsFallback implements HundredAwardsFeign {

    @Override
    public JsonData pointConfig(RequestUserInfo request) {
        return FAIL_JSON;
    }

    @Override
    public JsonData getStatus(RequestUserInfo request, Integer goldId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData hundredReward(RequestUserInfo request, Long pointRecordId, Boolean status) {
        return FAIL_JSON;
    }

    @Override
    public JsonData nextCount(RequestUserInfo userInfo) {
        return FAIL_JSON;
    }


    @Override
    public Result<Integer> pull(RequestUserInfo request, Integer goldId, Long pointRecordId, Integer status) {
        return FAIL_RESULT;
    }

    @Override
    public JsonData doubleConfig(RequestUserInfo request, Integer type) {
        return FAIL_JSON;
    }

    @Override
    public JsonData putOff(RequestUserInfo request, Long pointRecordId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData giveUp(RequestUserInfo request, Long pointRecordId) {
        return FAIL_JSON;
    }

    @Override
    public Result<Integer> getAwardsPoint(RequestUserInfo request, Integer config, Long pointRecordId, long seconds) {
        return FAIL_RESULT;
    }

    @Override
    public JsonData hasFirst(RequestUserInfo request, int num, Long pointRecordId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData doubleConfig(RequestUserInfo request) {
        return FAIL_JSON;
    }

}
